home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / UUCP / UUCon / Source / ProgressView.h < prev    next >
Text File  |  1992-11-10  |  600b  |  35 lines

  1. #import <appkit/View.h>
  2.  
  3. #define DEFAULTSTEPSIZE 5
  4. #define MAXSIZE 100
  5.  
  6. @interface ProgressView:View
  7. {
  8.     int total, count, stepSize;
  9.     float ratio;
  10. }
  11.  
  12. - initFrame:(const NXRect *)frameRect;
  13. - drawSelf:(const NXRect *)rects :(int)rectCount;
  14.  
  15. - setTotalSize: (int)value;
  16. - (int)totalSize;
  17.  
  18. - setStepSize:(int)value;
  19. - (int)stepSize;
  20.  
  21. - setRatio:(float)newRatio;
  22. - takeFloatValueFrom: sender;
  23.  
  24. - setIntValue: (int) aValue;
  25. - (int) intValue;
  26. - takeIntValueFrom: sender;
  27.  
  28. - increment:sender;
  29.  
  30. - (const char *)getInspectorClassName;
  31. - read:(NXTypedStream*)stream;
  32. - write:(NXTypedStream*)stream;
  33.  
  34. @end
  35.